import { randomNum, randomStr } from '@/utils/RandomUtil';

export const BaseData = Array.from({ length: 10 }).map((item, idx) => ({
  id: idx + 1,
  name: randomStr(),
  value: randomNum(),
}));

export const LineOption = {
  xAxis: {
    type: 'category',
    boundaryGap: false,
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  },
  yAxis: {
    type: 'value',
  },
  series: [
    {
      data: [820, 932, 901, 934, 1290, 1330, 1320],
      type: 'line',
      areaStyle: {},
    },
  ],
};
